package cn.laixueit.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ClassInfo {
    private Integer id;

    private String classname;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date opendate;

    private Date closedate;

    private Integer isover;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname == null ? null : classname.trim();
    }

    public Date getOpendate() {
        return opendate;
    }

    public void setOpendate(Date opendate) {
        this.opendate = opendate;
    }

    public Date getClosedate() {
        return closedate;
    }

    public void setClosedate(Date closedate) {
        this.closedate = closedate;
    }

    public Integer getIsover() {
        return isover;
    }

    public void setIsover(Integer isover) {
        this.isover = isover;
    }
}